package cn.yyt.yytravel.community.mapper;


import cn.yyt.yytravel.community.pojo.dto.CommunityQuery;
import cn.yyt.yytravel.community.pojo.entity.Community;
import cn.yyt.yytravel.community.pojo.vo.CommunityVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommunityMapper {
    void insertCommunity(Community community);

    List<CommunityVO> selectCommunity(CommunityQuery communityQuery);

    void deleteCommunity(Long id);
}
